<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title">文章分类</h3>
    </div>
    <div class="panel-body">
        {% for category in category_list %}
            <p><a href="/{{ username }}/category/{{ category.2 }}">{{ category.0 }}&nbsp;&nbsp;({{ category.1 }})</a></p>
        {% endfor %}

    </div>
</div>
<div class="panel panel-info">
    <div class="panel-heading">
        <h3 class="panel-title">文章标签</h3>
    </div>
    <div class="panel-body">
        {% for tag in tag_list %}
            <p><a href="/{{ username }}/tag/{{ tag.2 }}">{{ tag.0 }}&nbsp;&nbsp;({{ tag.1 }})</a></p>
        {% endfor %}

    </div>
</div>
<div class="panel panel-danger">
    <div class="panel-heading">
        <h3 class="panel-title">日期归档</h3>
    </div>
    <div class="panel-body">
        {% for date in date_list %}
            <p>
                <a href="/{{username}}/archive/{{ date.0|date:'Y-m' }}">{{ date.0|date:'Y年m月' }}&nbsp;&nbsp;({{ date.1 }})</a>
            </p>
        {% endfor %}

    </div>
</div>